package Class.Homemade.demo0525.demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 姚东名
 * Date: 2024-05-25
 * Time: 21:14
 */
public interface IShape {
    //接口，类中都是抽象成员 -> 成员变量、成员方法
    //1.public static final int a = 10;
    //int b = 10;//两者是一样的

    void draw();
    //2.public abstract void draw1();

    //3.
    static void test2() {
        System.out.println("static方法.....");
    }
    //4.
    default void test1() {
        System.out.println("default方法.....");
    }
}
